<?php
/**
 * Created by PhpStorm.
 * User: D
 * Date: 2019/5/11
 * Time: 11:09
 */
header("Content-Type:Application/json;charset=utf-8");
header("Access-Control-Allow-Origin:*");

session_start();

if(!isset($_SESSION["userinfo1"])){
    print_r(json_encode(Array("msg"=>"请先登录","status"=>-1)));
}else{
    print_r(json_encode(Array("msg"=>"已登录","status"=>1)));
}
